package com.example.campusforumapi.service;

import com.example.campusforumapi.entity.DepartmentStats;
import com.example.campusforumapi.entity.WeeklyStats;
import com.example.campusforumapi.util.PageResult;

import java.util.List;

public interface StatsService {
//    获取每周新增人员数据
    List<WeeklyStats> getWeeklyRegistrations();
    //    获取学院人数比例动态数据
    List<DepartmentStats> getDepartmentUsers();

    List<DepartmentStats> getGenderUsers();

    PageResult getTopArticlePage(Integer page, Integer pageSize);

    PageResult getTopActivityPage(Integer page, Integer pageSize);

    List<DepartmentStats> getArticleTags();

    List<DepartmentStats> getActivityTags();
}
